package com.ruoyi.project.cms.mm.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.user.domain.User;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @create 2020-05-17 11:20
 * @desc taskinfo实体类
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
public class TaskInfo extends BaseEntity implements Serializable {
    /*任务id*/
    private Integer tid;
    /*标题*/
    private String target;
    /*创建人*/
    private String clogname;
    /*执行人*/
    private String dlogname;
    /*创建时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date create_date;
    /*开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date begin_date;
    /*结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date end_date;
    /*任务状态*/
    private Integer task_status;
    /*紧急程度*/
    private Integer emerg;
    /*任务内容*/
    private String detail;
    /*附件存放地址*/
    private String fjurl;
    /*成果存放地址*/
    private String cgurl;
    /*成果描述*/
    private String desc;

    private User cuser;

    private User duser;
}
